package com.design.demo.decorator;

import java.math.BigDecimal;

/**
 * @author guoliang.li
 * @date 2019/12/26 11:46
 * @description TODO 抽象装饰者
 */
public abstract class BaseDecorator {

    /**
     * 组件描述
     *
     * @return string
     */
    public abstract String getDescription();

    /**
     * 价钱
     *
     * @return int
     */
    public abstract BigDecimal cost();
}